package com.haiyuancloud.base.server.gateway;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author haiyuan
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.haiyuancloud.*"})
public class HaiyuanGatewayServerApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(HaiyuanGatewayServerApplication.class)
                .web(WebApplicationType.REACTIVE)
                .run(args);
    }
}
